package com.it;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
@MapperScan(basePackages = "com.it.mapper") //批量加载mapper包下的接口  可以省略@Mapper
public class Day0902SpringbootMybatisApplication {

    public static void main(String[] args) {
        SpringApplication.run(Day0902SpringbootMybatisApplication.class, args);
    }

}
